package com.base.cn.platform.os.dao.qa.record;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.manage.teacher.TeacherExpand;
import com.base.cn.platform.os.entity.qa.record.QaTeacherCommission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 问答讲师分成记录Dao
 * @author LIZHIPENG
 * @since 2018/5/2
 */
@Mapper
public interface QaTeacherCommissionDao extends BaseDao<QaTeacherCommission> {
    /**
     * 查询问答总数量数据
     * @param clazz
     * @return QaSumCount
     */
    List<TeacherExpand> qaTeacherCommissionSum(@Param("clazz") Class<QaTeacherCommission> clazz, @Param("teacherId") BigDecimal teacherId);
}
